<template>
  <div>
    <svg-icon icon-class="chart" @click="goto" />
  </div>
</template>

<script>
export default {
  name: 'RuoYiGit',
  data() {
    return {
      url: 'http://124.239.149.63:9010'
    }
  },
  methods: {
    goto() {
      //this.url="http://localhost:8080"
      console.log("userInfo*****************")
      console.log(this.$store.state.user)

      const username= this.$store.state.user.name
      window.open(this.url+"?userName="+username,'_blank',"location=no,addressbar=no")
     // window.open('','_blank').location.href = this.url+"?userName="+username
    }
  }
}
</script>
